﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentValidation;

namespace ERPStore.NewsLetters.ModelValidators
{
	public class EmailRecipientValidator : AbstractValidator<Models.EmailRecipient>
	{
		public EmailRecipientValidator()
		{
			RuleFor(m => m.Email).NotEmpty().WithMessage("l'email doit etre indiqué");
		}
	}
}
